import request from '@/utils/request'

// 运维/事件上报列表
export function recordLists(params?: Record<string, any>) {
    return request.get({ url: '/record/list', params })
}

// 运维/事件上报详情
export function recordDetail(params: Record<string, any>) {
    return request.get({ url: '/record/detail', params })
}

// 运维/事件上报新增
export function recordAdd(params: Record<string, any>) {
    return request.post({ url: '/record/add', params })
}

// 运维/事件上报编辑
export function recordEdit(params: Record<string, any>) {
    return request.post({ url: '/record/edit', params })
}

// 运维/事件上报删除
export function recordDelete(params: Record<string, any>) {
    return request.post({ url: '/record/del', params })
}
